<template>
    <div>
        <h3>子组件</h3>
        <!-- <p>{{ msg }}</p> -->
        <P>{{ aa }}</P>
        <!-- <input type="text" v-model="msg"> -->
        <!-- <input type="text" v-model="aa"> -->
    </div>
</template>
<script>
export default {
    data(){
        return {
           msg:"" 
        }
    },

    props:{

    },
    mounted(){
        console.log(this.$el.getAttribute("aa"));
        this.msg=this.$el.getAttribute("aa");
        // this.obj.show();
    }
}
</script>